package com.ericsson.web.core;

public class Constants {

	public final static String USERID = "userid";
	public final static String REDIRECT = "redirect";
	public final static String URL_ROOT = "/xss-demo";
	public final static String LOGIN_PAGE = URL_ROOT + "/login.jsp";
	public final static String INDEX_PAGE  = URL_ROOT  + "/index.jsp";
	public final static String REGISTER_PAGE = URL_ROOT  + "/register.jsp";
	public final static String LOGIN_AUTH = URL_ROOT + "/ServiceLoginAuth";
	
	private static String dbName = null;
	private static int dbPort  = -1;
	public static void setDbName(String dbName) {
		Constants.dbName = dbName;
	}
	public static String getDbName() {
		return dbName;
	}
	public static void setDbPort(int dbPort) {
		Constants.dbPort = dbPort;
	}
	public static int getDbPort() {
		return dbPort;
	}
	
}
